<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Emulateur PROCSI:  Fichier source de /home/aboursie/workspace/emulator-procsi/src/parser.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Emulateur PROCSI&#160;<span id="projectnumber">1</span></div>
   <div id="projectbrief">reproduction du fonctionnement de PROCSI en C</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Portée&#160;globale</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/aboursie/workspace/emulator-procsi/src/parser.h</div>  </div>
</div>
<div class="contents">
<a href="parser_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00003"></a>00003 <span class="preprocessor">#include &quot;<a class="code" href="pvm_8h.html">pvm.h</a>&quot;</span>
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 <span class="preprocessor">#ifndef PARSER_H_</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define PARSER_H_</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span>
<a name="l00008"></a><a class="code" href="parser_8h.html#abd27323fe3fbbe4f316dc072744efd73">00008</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___liste.html">_Liste</a> <a class="code" href="struct___liste.html">Liste</a>;
<a name="l00009"></a><a class="code" href="struct___liste.html">00009</a> <span class="keyword">struct </span><a class="code" href="struct___liste.html">_Liste</a> {
<a name="l00010"></a><a class="code" href="struct___liste.html#abe308d273ff51ad86ff02ef3ba3b6f0e">00010</a>         <span class="keywordtype">char</span> *<a class="code" href="struct___liste.html#abe308d273ff51ad86ff02ef3ba3b6f0e">nom</a>;            
<a name="l00011"></a><a class="code" href="struct___liste.html#a18c3fb85e87ac72ef1416ebb5459ee89">00011</a>         <a class="code" href="pvm_8h.html#a9e9b08bbbfb50d0535079872d3ed87c3">REG</a> <a class="code" href="struct___liste.html#a18c3fb85e87ac72ef1416ebb5459ee89">adresse</a>;          
<a name="l00012"></a><a class="code" href="struct___liste.html#aaf822f1f8fa4c0adb9efd0a2bd982235">00012</a>         <a class="code" href="struct___liste.html">Liste</a> *<a class="code" href="struct___liste.html#aaf822f1f8fa4c0adb9efd0a2bd982235">suivant</a>;       
<a name="l00013"></a>00013 };
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <a class="code" href="struct___liste.html">Liste</a> *<a class="code" href="parser_8c.html#a699222a9803074275d3f6194ba7d7fd6">add_List</a>(<a class="code" href="struct___liste.html">Liste</a> *dernier, <a class="code" href="pvm_8h.html#a9e9b08bbbfb50d0535079872d3ed87c3">REG</a> pointeur, <span class="keywordtype">char</span> *nom);
<a name="l00016"></a>00016 <a class="code" href="struct___liste.html">Liste</a> *<a class="code" href="parser_8c.html#a3311a48b30e5ad1f562b2b39dd196ba6">next_List</a>(<a class="code" href="struct___liste.html">Liste</a> *actuel);
<a name="l00017"></a>00017 <span class="keywordtype">bool</span> <a class="code" href="parser_8c.html#a0e7bad31cfcadd3bbf0eb2b1982b900d">get_List</a>(<a class="code" href="struct___liste.html">Liste</a> *dernier, <span class="keywordtype">char</span> *nom, <a class="code" href="pvm_8h.html#a9e9b08bbbfb50d0535079872d3ed87c3">REG</a> *pointeur);
<a name="l00018"></a>00018 
<a name="l00019"></a><a class="code" href="struct_parser.html">00019</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>{
<a name="l00020"></a><a class="code" href="struct_parser.html#a22e917e348486f1469a6411c8a481141">00020</a>         <span class="keywordtype">char</span> *<a class="code" href="struct_parser.html#a22e917e348486f1469a6411c8a481141">current</a>;        
<a name="l00021"></a><a class="code" href="struct_parser.html#a9d906c5a93f9b913b8a25e4485ff451a">00021</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_parser.html#a9d906c5a93f9b913b8a25e4485ff451a">row</a>;     
<a name="l00022"></a><a class="code" href="struct_parser.html#a5bf7afa8da1a88cad4e1dde517691cee">00022</a>         <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="struct_parser.html#a5bf7afa8da1a88cad4e1dde517691cee">col</a>;     
<a name="l00024"></a><a class="code" href="struct_parser.html#a86b158606e5e1308f972b34b071fc754">00024</a>         <a class="code" href="pvm_8h.html#a9e9b08bbbfb50d0535079872d3ed87c3">REG</a> <a class="code" href="struct_parser.html#a86b158606e5e1308f972b34b071fc754">pc</a>;               
<a name="l00025"></a><a class="code" href="struct_parser.html#a90409607a9d10e5fe64eeb9e187dccaa">00025</a>         <a class="code" href="union_mot.html">Mot</a>* <a class="code" href="struct_parser.html#a90409607a9d10e5fe64eeb9e187dccaa">mem</a>;                 
<a name="l00026"></a><a class="code" href="struct_parser.html#a725bf4cfa9a20e21b4b3623e8a16959c">00026</a>         <a class="code" href="pvm_8h.html#a9e9b08bbbfb50d0535079872d3ed87c3">REG</a> <a class="code" href="struct_parser.html#a725bf4cfa9a20e21b4b3623e8a16959c">memsize</a>;          
<a name="l00027"></a><a class="code" href="struct_parser.html#aa065f30aa9f5f9a42132c82c787ee70b">00027</a>         FILE* <a class="code" href="struct_parser.html#aa065f30aa9f5f9a42132c82c787ee70b">fp</a>;             
<a name="l00029"></a><a class="code" href="struct_parser.html#a2791cdd8ebd13c264e8b18b00307c57a">00029</a>         <a class="code" href="struct___liste.html">Liste</a>* <a class="code" href="struct_parser.html#a2791cdd8ebd13c264e8b18b00307c57a">labels</a>;            
<a name="l00030"></a>00030 } <a class="code" href="struct_parser.html">Parser</a>;
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="keywordtype">void</span> <a class="code" href="parser_8c.html#a77e7225758aa19ce6f3e9d4be4e8c229">load_program</a>(<span class="keywordtype">char</span> *filename, <a class="code" href="struct_p_v_m.html">PVM</a>* pvm);
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définition de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Généré le Sat Dec 31 2011 13:00:38 pour Emulateur PROCSI par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
